package com.mz.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * (SmsVersion)表实体类
 *
 * @author makejava
 * @since 2023-12-13 13:38:34
 */
@Data
@Accessors(chain = true)
public class SmsVersion  {

    @TableId( type = IdType.ASSIGN_ID)
    private Long id;
    private String platformName;
    private Integer isCur;

    @TableField( exist = false )
    private Integer needUpgrade;

    //版本号
    private String upgradeVersion;
    private String upgradeContent;
    //下载url
    private String downloadUrl;
    //更新内容(0-android, 1-ios, 2-小程序)
    private Integer platformType;
    //提醒频率：天数
    private Integer averageDay;
    //提醒次数
    private Integer noticeNum;

    @TableLogic
    private Integer delFlag;

    private Long createBy;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date createTime;

    private Long updateBy;

    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

}

